home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 08 System Utilities / FLOST.DOC < prev    next >
Text File  |  2019-04-13  |  4KB  |  84 lines

  1.  
  2.     documentation for "flost.bin"  (should be renamed to "lost file")
  3.  
  4. what you need:
  5.                 download "flost.bin" from cbmprg
  6.                 download "flost.txt" from cbmprg
  7.                 download "flost.doc" (this file) from cbmprg
  8.  
  9. reading "flost.txt" will give you detailed information on the process
  10. used in recovering files that have been lost not through the normal
  11. scratching process, but with the save-and-replace command.  these will
  12. usually be program files.
  13.  
  14. "flost.txt" should be read first, but if you are in a hurry, the most
  15. important thing is to backup the diskette first with a "whole-disk" type
  16. copier.  there are many available.  run "flost.bin" only on a backup, because
  17. it will purposefully destroy the first file in the directory in the process
  18. of recovering your lost file.
  19.  
  20. main menu options:
  21.  
  22.  
  23. l--look for possible first blocks
  24.  
  25. this will ask you for a load address for the file.  this option only applies
  26. to program files, not to sequential files.  (you can use it for any file, but
  27. it will only help you for programs).  it will check the entire disk for sectors
  28. which contain the proper load address for a program.  this means that any
  29. sector having this load address could be the first sector of a program file.
  30.  
  31. k--display a chain of blocks
  32.  
  33. this will display and count the number of blocks in a chain.  on the diskette,
  34. each 256-byte block is "chained" to the next in that particular file.  choosing
  35. this option and entering the first block of your lost file will give you a
  36. count of how many blocks long the file is.
  37.  
  38. a--ascii only scan
  39.  
  40. if you want to see what a block looks like in ascii (letters and numbers),
  41. use this option.  it would be used when you were looking at a block you thought
  42. might be the first block of your lost file.  if you saw something familiar
  43. there, it might help you decide if that was the right one.  this will not look
  44. at all like a program listing.  none of basic's keywords will print out, but
  45. any letters or numbers in quotes or in rem lines will.  if you habitually
  46. put the name of the program in a rem statement at or near the beginning of
  47. the program, this would print out.
  48.  
  49. h--ascii and hex(adecimal) scan
  50.  
  51. in the c64 version of the program ("flost.bin") this will print to the
  52. screen half of a sector at a time, showing on the left side of the screen
  53. the actual contents in hex form, and the ascii to the right side of the
  54. screen.  explaining the structure of data blocks or hexadecimal numbers
  55. is beyond the scope of this document.
  56.  
  57. d--fix directory
  58.  
  59. this is actually the last option you will use.  after finding the starting
  60. block and number of blocks for your lost file, this is where you will enter
  61. them into the directory.  you will sacrifice the first file in the directory
  62. for this purpose.  since this is only a backup diskette, it won't matter.
  63. (the program could be modified to let you add the lost file as the last
  64. directory entry, but it would lengthen the program and leave more room for
  65. error.)
  66.  
  67.  
  68. notes:
  69. 1.  this is clearly a "limited use" program as it stands.  this is inevitable,
  70. since it was specifically written for a limited use.  the program, however, is
  71. fairly logically designed, and can easily be changed to suit other uses.
  72.  
  73. 2.  the 64 version was adapted from the original, which happened to be written
  74. for a commodore b128.  the only changes necessary were for the smaller screen
  75. of the 64 and the smaller capacity of the 1541 disk format.  although it has
  76. not been tested, i'm sure it would run more or less unchanged on a c128 as
  77. well.
  78.  
  79. 3.  i would really like to hear of any bugs, preferably by e-mail.
  80.  
  81. rick joslin
  82. 72167,3312
  83. december, 1988
  84.